﻿@using FTBS.Models.Entities;
@model List<FTBS.Models.Entities.User>
@{ 
    ViewBag.Title = "Các cụm rạp";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<style>
    .filmkind {
        padding: 5px;
        font-size: 27px;
        background-color: rgb(83, 141, 160);
        color: white;
    }
</style>
@if (Model.Count() >0)
{
    <div class="panel" style="background-color: white; margin-top: 20px; margin-left: 15px; width: 97.5%;height: 100%; min-height:485px">
        <div class="filmkind">Các cụm rạp </div>
        <div>
            <div style="display: inline-block; margin: 0 auto">
                @foreach (var item in Model)
                {
                    <div style="float: left; width: 310px; height: 280px; margin-left: 10px; padding-top: 10px;">
                        <div>
                            <a href="~/Home/Group?group=@item.FullName">
                                <img src="~/Image/SupplierImages/@item.ImageURL"  style="height: 200px; width: 300px;"/>
                            </a>
                        </div>
                        <div style="font-weight: bold; font-size: 18px; color: darkorange; text-align: center;">
                            <a href="~/Home/Group?group=@item.FullName" style=" color:darkorange;">@item.FullName</a>
                        </div>
                    </div>
                }
            </div>
        </div>
    </div>
}
else
{
    <div class="panel" style="background-color: white; margin-top: 20px; margin-left: 15px; width: 97.5%;height: 485px;">
        <div class="filmkind">Các cụm rạp </div>
        </div>
}

